package my.diplom.dao;

import my.diplom.entity.Category;
import my.diplom.entity.Event;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 13.07.2009
 * Time: 23:43:59
 * To change this template use File | Settings | File Templates.
 */
public interface IEventDAO {

    void create(Event event);
	void update(Event event);
	Event getById(Long eventId);
	List<Event> getAll();
    List<Event> getEventsByLogin(String login);
	void delete(Event event);
}
